package com.houseService.users.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.houseService.users.domain.Users;
import com.houseService.users.vo.UsersVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户Mapper接口
 *
 * @author LiuChunlin
 * @date 2025-03-18
 */
public interface UsersMapper extends BaseMapper<Users> {

    Page<UsersVo> queryList(Page<?> page, @Param("entity") UsersVo entity);

    List<UsersVo> queryList(@Param("entity") UsersVo entity);

    UsersVo queryById(@Param("id") String id);

    Integer updateUsersId(@Param("users") UsersVo users);

    Integer insertUsers(@Param("users") UsersVo users);

}
